/**
 * Created by 黄忠园 on 2017/12/28.
 */
angular.module('service.wmoperationInfo.promoterinfo', [
        'ngResource',
        'ngCookies'
    ])
    .service('WmoperationInfoPromoterinfoService', WmoperationInfoPromoterinfoService);
WmoperationInfoPromoterinfoService.$inject = ['$resource'];
function WmoperationInfoPromoterinfoService($resource) {

    // 根据主键promoterid查询信息
    this.getRepairman = function (promoterid, success, error) {
        var resource = $resource(wmoperation_infourl + "promoterinfo/:promoterid");
        return resource.get({promoterid: promoterid}, success, error);
    }
}